from fastapi import APIRouter
from app.routers import auth, user, role, department, permission, log

api_router = APIRouter()

# 认证相关路由
api_router.include_router(auth.router, prefix="/auth", tags=["认证"])

# 用户管理路由
api_router.include_router(user.router, prefix="/users", tags=["用户管理"])

# 角色管理路由
api_router.include_router(role.router, prefix="/roles", tags=["角色管理"])

# 部门管理路由
api_router.include_router(department.router, prefix="/departments", tags=["部门管理"])

# 权限管理路由
api_router.include_router(permission.router, prefix="/permissions", tags=["权限管理"])

# 日志管理路由
api_router.include_router(log.router, prefix="/logs", tags=["日志管理"])
